package net.learn.vocabulary;

import java.util.ArrayList;

import android.content.Context;

public class curLesson {
	private ArrayList<Lesson> listLesson;
	public Context context;
	public Lesson curLesson;
	public curLesson(Context mcontext){
		context = mcontext;
		listLesson = new ArrayList<Lesson>();
        for(int i=0;i<10;i++){
        	String s;
        	Lesson lesson;
        	s = "bai" + Integer.toString(i+1) + ".txt";
	        lesson = new Lesson(s,context);
	    	listLesson.add(lesson);
        }
	}
	public void setLesson(int index){
		curLesson = listLesson.get(index);
	}
	public String Word(int index){
		return curLesson.Word(index);
	}
	public String Mean(int index){
		return curLesson.Mean(index);
	}
	public int Length(){
		return curLesson.Length();
	}
	
}
